﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace ShivamEMR.Model.Domain.CRMDomain
{
   public class QuestionAnswer
    {
        #region Properties
        public Guid ID { get; set; }
        public string Answer { get; set; }
        public string Notes { get; set; }        
        #endregion

        #region ForeignKeyProperties
        public Guid QuestionID { get; set; } 
        #endregion

        #region NavigationalProperties
        public virtual ICollection<AnswerDetail> Details { get; set; }
       [ForeignKey("QuestionID")]
        public virtual Question Question { get; set; } 
        #endregion
    }
}
